﻿<#--
***************************************************************************************
* 正元协同办公系统J2EE版
* 声明：金华正元计算机工程有限公司版权所有,
* 名称：wfStepUserList.ftl
* 功能：wfStepUser列表页面
* 来源：本页由wfStepUserAction!list.shtml跳转过来。
* 去向：
*    	本页可以跳转到wfStepUserForm.ftl
* 修改日志：
*			修改者及修改内容简述。
*			姓名：系统        时间：2007-06-08  内容：生成本页面
****************************************************************************************
-->
<#include "/common/pager_style/commonList.ftl" encoding="UTF-8">
<#-- 定义本页面能有哪些按钮 -->

<#assign buttonsName={"list":"刷新","print":"导出excel","back":"返回"}>

<#assign buttonsImage = {"later":"detail.gif","refuse":"detail.gif","again":"detail.gif","agree":"detail.gif","isfinish":"detail.gif","recovery":"detail.gif"}>
<#--	如果需要特别的定义按钮的图片，请参照以下格式，不需要则请删除本行及下一行：	-->
<style type="text/css">
	.tbl_list {text-align: left;}
</style>
<script language="javascript">
<!--
var actName="weekRecordAction";
var domainName="weekRecord";
	function demo()	{
		//此方法为用户自定义的操作行为
	}

	function opt_detail(a,b){
	//	alert(b);
		$("#clickId").val(b);
		//alert($("#clickId").val());
		$("form").eq(0).attr("action",actName + '!supervisionDetail.shtml');
		$("form").eq(0).submit();
	}
	
		
	//导出excel
		function opt_print(){
		    var oldAction = $("form").eq(0).attr("action");
			document.forms[0].action='weekRecordAction!exportExeclex.shtml';
			document.forms[0].submit();
			document.forms[0].action=oldAction;		
	}
	
	// 执行排序功能
	function do_sort(orderBy, defaultOrder) {
			do_sort(orderBy,defaultOrder,"");
		}
	function do_sort(orderBy, defaultOrder,formId) {
		if(orderBy=='weekRecord.review.applyType'||orderBy=='weekRecord.review.reviewBy.userName'||orderBy=='weekRecord.review.opinion'){
				alert('不支持审核类型,审核人,审核意见的排序');
				return false;
		}
		
		
		var $form = $("form");
		if(!isEmpty(formId)){
			$form = $("form#" + formId)
		}
		if ($("#page\\.orderBy",$form).val() == orderBy) {
			if ($("#page\\.order",$form).val() == "") {
				$("#page\\.order",$form).val(defaultOrder);
			}else if ($("#page\\.order",$form).val() == "desc") {
				$("#page\\.order",$form).val("asc");
			}else if ($("#page\\.order",$form).val() == "asc") {
				$("#page\\.order",$form).val("desc");
			}
		}else {
			$("#page\\.orderBy",$form).val(orderBy);
			$("#page\\.order",$form).val(defaultOrder);
		}
		$form.submit();
		return false;
	}
	
	function do_filters(){
		//alert($("#filter_LIKES_a\\@weekRecord\\@overOpinion").val()=='满意');
		if($("#filter_LIKES_a\\@weekRecord\\@overOpinion").val()=='满意'){
			$("#isAgreeOpinionMY").val('1');
		}else {
			$("#isAgreeOpinionMY").val('0');
		}
	//alert($("#isAgreeOpinionMY").val());
		do_filter();
	}
//-->
</script>
<style>
.ui-com-tbl {font-size:16px;}
.ui-com-tbl tbody td {line-height:1.3 !important; min-height:30px; padding:5px;}
</style>
</head>
<body class="frameList" scroll="auto">
<form name="form1" action="${(formAction)?if_exists}" method="post">
<#--列表参数-->
		<input type="hidden" name="id" id="id" value="">
		<input type="hidden" name="weekRecord.id" id="weekRecord.id" value="">
		<input type="hidden" name="domainFileName" id="domainFileName" value="${(domainFileName)?if_exists}"/>
		<input type="hidden" name="propConfigName" id="propConfigName" value="${(propConfigName)?if_exists}"/>
		<input type="hidden" name="clickId" id="clickId" value="">
		<input type="hidden" name="editState" id="editState" value="${(editState)?if_exists}">
		<input type="hidden" name="statusType" id="statusType" value="${(statusType)?if_exists}">
		<input type="hidden" name="weekReview.applyType" id="weekReview.applyType" value="">
		<input type="hidden" name="isAgreeOpinionMY" id="isAgreeOpinionMY" value="">
		<input type="hidden" name="isFromSysPendings" id="isFromSysPendings" value="${(isFromSysPendings)?if_exists}">
	<#-- 隐藏域，用于记录本列表数据的的上级，根据情况看是否需要 -->
	<#--	<input type="hidden" name="wfStepUser.wfStepUser.id" value="${(wfStepUser.wfStepUser.id)?if_exists}">	-->
		 <div id="mainDiv">
			<div id="topDiv">
				<#-- 生成按钮及表格数据 -->
				<#include "/common/pager_style/pageButtons.ftl" encoding="UTF-8">
			</div><!-- end #topDiv -->
			<div id="centerDiv">
			<#if listState?exists && listState=="query">
			<#else>
				<div id="selectButton" height="98%">
					<fieldSet>
						<legend class="icon_warning">筛选条件</legend>
						<@pEdit.pageEditText
							label="标题:"
							pageState="modify"
							TR="false"
							TD="false"
							cssStyle="width:10%;"
							attName="filter_LIKES_a@weekRecord@title"
							attValue="${(filter_LIKES_a@weekRecord@title)?if_exists}"
							/>
						<@pEdit.pageEditText
							label="发文单位："
							pageState="modify"
							TR="false"
							TD="false"
							cssStyle="width:10%"
							attName="filter_LIKES_a@weekRecord@lwUnit@name"
							attValue="${(filter_LIKES_a@weekRecord@lwUnit@name)?if_exists}"
						/>	
						<@pEdit.pageEditText
							label="主办单位："
							pageState="modify"
							TR="false"
							TD="false"
							cssStyle="width:10%;"
							attName="filter_LIKES_a@weekRecord@swUnit@name"
							attValue="${(filter_LIKES_a@weekRecord@swUnit@name)?if_exists}"
							/>
						<@pEdit.pageEditSelectUserValue
							label="状态："
							pageState="modify"
							TR="false"
							TD="true"
							attName="filter_EQI_a@weekRecord@timeoutStatus"
							attValue="${(filter_EQI_a@weekRecord@timeoutStatus)?if_exists}"
							optionSource={"0":"正常","1":"预警","2":"已超期"}
							/>
							</br>
						<@pEdit.pageEditTextDate
							label="发文时间："
							pageState="modify"
							TR="true"
							TD="true"
							showsTime="true"
							cssStyle="width:12%;"
							attName="filter_GTS_a@weekRecord@createTime"
							attValue="${(filter_GTS_a@weekRecord@createTime)?if_exists}"
							/>
						<@pEdit.pageEditTextDate
							label="至："
							pageState="modify"
							TR="false"
							TD="true"
							showsTime="true"
							cssStyle="width:12%;"
							attName="filter_LTS_a@weekRecord@createTime"
							attValue="${(filter_LTS_a@weekRecord@createTime)?if_exists}"
							/>						
						<@pEdit.pageEditSelectUserValue
							label="当前进展"
							pageState="modify"
							TR="false"
							TD="false"
							attName="filter_EQI_a@weekRecord@status"
							attValue="${(filter_EQI_a@weekRecord@status)?if_exists}"
							optionSource={"1":"办理中","2":"已反馈","3":"已办结","4":"拒绝办理"}
							/>
							
						<@pEdit.pageEditSelectUserValue
							label="审核类型"
							pageState="modify"
							TR="false"
							TD="false"			
							attName="filter_EQI_a@weekRecord@speStatus"
							attValue="${(filter_EQI_a@weekRecord@speStatus)	?if_exists}"
							optionSource={"1":"延期审核","2":"不同意件审核"}
							/>
						<@pEdit.pageEditText
							label="满意度"
							pageState="modify"
							TR="false"
							TD="false"
							cssStyle="width:10%;"
							attName="filter_LIKES_a@weekRecord@overOpinion"
							attValue="${(filter_LIKES_a@weekRecord@overOpinion)?if_exists}"
							/>
					  	<input type="button" value="&nbsp;&nbsp;检&nbsp;&nbsp;索&nbsp;&nbsp;" onclick="do_filter();return false;">
					</fieldSet>
				</div>
			</#if>
			<div id="body">
				<!--	开始生成页面数据表格	-->
				<#import "/common/pager_style/pager.ftl" as comPager><#-- 生成列表页面的ftl模板文件	 -->
					<@comPager.pager page=(page)?if_exists title="" skin=skin/>
				<!--	页面数据表格生成结束	-->
			</div><!-- end #body -->
		</div><!-- end #centerDiv -->
	</div><!-- end #mainDiv -->
	<div id="removeData" style="display:none;">
		<ol style="margin:0px; padding:0px;">
		<dl>
			<dt>
				<span style="padding-left:50px; text-align:left;font-weight:bold;">请填写销毁原因：</span>
			</dt>
			<dt style="padding-left:50px;">
				<textarea name="operateReason" id="testOperateReason" style="width:450px;height:200px;overflow-y:auto;"></textarea>
			</dt>
		</dl>
	   </ol>
	 </div>
</form>
</body>
</html>